﻿using System.ComponentModel.DataAnnotations;

namespace TaskManager.Web.ViewModels.Project
{
    public class ProjectCreateOrEditModel
    {
        /// <summary>
        /// Project identifier
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Name
        /// </summary>
        [MaxLength(50)]
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// Description
        /// </summary>
        public string Description { get; set; }
    }
}